# ll='钣金事业部/钣金生产部/焊接组'
# ll = ll.split('/')
# print(ll)
my_dic = {"type":"类型","brand":"品牌","name":"名称","user":"使用人","department":"部门","Historical_user ":"历史使用者","Condition_now":"状况","service_number":"服务编号","IP_address":"IP地址","Wired_MAC_address":"有线mac地址","Wireless_MAC_address":"无线mac地址","Is_it_inventory":"是否在库存","Hard_disk":"硬盘","Memory":"'内存","CPU":"CPU","Graphics_card":"显卡","Asset_Number":"资产编号","monitor":"显示屏","Asset_Manager":"资产管理者","Upgrade_maintenance_record":"升级维修历史记录","Price":"价格","Purchase_date date":"购买日期","Scheduled_scrap_date date":"预报废日期","address":"使用地址","Classified_level":"涉密等级","remarks":"备注","serial_number":"序列号","CD_drive":"光驱","operating_system":"操作系统"}
def change_list_by_dict(l,d):
    """

    :param l: 需要转换的列表
    :param d: 参考的字典
    :return: 返回改变后的列表
    """
    for i in range(len(l)):
        if l[i] in d:
            l[i] = d[l[i]]
    return l